home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 5⁄4⁄90 / 1220-DoSetCursor again-Apr90 < prev    next >
Encoding:
Text File  |  1990-05-04  |  1.2 KB  |  29 lines  |  [TEXT/GEOL]

  1. Item    6193815                         30-April-90        06:51PDT
  2.  
  3. From:   A14                             Carnegie Mellon, Rob Chandok,PRA
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    DoSetCursor again
  8.  
  9. Dave Wilson points out that my method of getting the cursor to change quickly
  10. steals cycles from other tasks under Multifinder.  And I agree.
  11.  
  12. But TANSTAAFL, eh? Something has to compute what to set the cursor to, and if
  13. you application is doing it, it is taking up cycles.  You either get the
  14. response time, or the sleep time, not both.
  15.  
  16. Some computer systems allow you to tell the OS or some hardware what to set the
  17. cursor to when you are over a particular region of the screen.  Thus, your task
  18. dosn't change the cursor, but somebody does it for you (and they spend cycles
  19. to).  This doesn't account well for option keys and the like in an environment
  20. like the Mac where option key transitions don't cause events.
  21.  
  22. I have to agree with Dave that setting fIdleFreq is kind of awkward.  Maybe
  23. there should be an application or view method called "SetLiveCursor" that could
  24. inform the App when it had to be more careful about calling DoSetCursor more
  25. often.
  26.  
  27. Rob
  28.  
  29.